####################################################################
# Replication file for:                                            #
# Lehrer et al. "Rallying Around the Leader in Times of Crises:    #
# "The Opposing Effects of Perceived Threat and Anxiety"           #
#                                                                  #
# Published in the European Journal of Political Research          #
####################################################################

########################################################################
# Last edited:                                                         #
# 15 August 2024 by Roni Lehrer                                        #
########################################################################

To replicate Figure 1, run figure_1.R.

To replicate all other results, run replication_EJPR.R.

The data required for these R-scripts are inculded in this replication package.
To obtain the data required for replication_EJPR.R from the original data sources, run prepare_data.R.